﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CreateCourseScreen.aspx.cs" Inherits="METU_CMT.CreateCourseScreen" %>

<%@ Register TagPrefix="cc1" Namespace="BunnyBear" Assembly="msgBox" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Table ID="Table1" runat="server" Width="50%" HorizontalAlign="Center" CssClass="chp-grid"
        Style="font-size: 15px; margin-left: 50px; margin-top: 50px;">
        <asp:TableRow ID="TableRow1" runat="server">
            <asp:TableCell ID="TableCell1" runat="server">Course Name</asp:TableCell>
            <asp:TableCell ID="TableCell2" runat="server" HorizontalAlign="Left">
                <asp:TextBox runat="server" ID="txtCourseName" CssClass="chp-text-field"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCourseName"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" ValidationGroup="MKE">* Course Name is required!</asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow2" runat="server">
            <asp:TableCell ID="TableCell4" runat="server">Course Code</asp:TableCell>
            <asp:TableCell ID="TableCell3" runat="server" HorizontalAlign="Left">
                <asp:TextBox runat="server" ID="txtCourseCode" CssClass="chp-text-field"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCourseCode"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" ValidationGroup="MKE">* Course Code is required!</asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow3" runat="server">
            <asp:TableCell ID="TableCell6" runat="server">Semester</asp:TableCell>
            <asp:TableCell ID="TableCell7" runat="server" HorizontalAlign="Left">
                <asp:TextBox runat="server" ID="txtSemester" CssClass="chp-text-field"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSemester"
                    Display="Dynamic" ErrorMessage="RequiredFieldValidator" ValidationGroup="MKE">* Course Semester is required!</asp:RequiredFieldValidator>
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow4" runat="server">
            <asp:TableCell ID="TableCell5" runat="server" HorizontalAlign="Center" ColumnSpan="2">
                <asp:Button runat="server" ID="btnAdd" OnClick="OnBtnAddClicked" Text="Create" CssClass="chp-button-red"
                    ValidationGroup="MKE" />
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <cc1:msgBox ID="MsgBox1" runat="server"></cc1:msgBox>
</asp:Content>
